package com.baitiaojun.common.enums.impl;

import com.baitiaojun.common.enums.Enums;

public enum UserStatusEnums implements Enums {
    OK(0, "正常"), DISABLE(1, "停用"), DELETED(2, "删除");

    private final Integer code;
    private final String name;

    UserStatusEnums(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    @Override
    public Enums valueOf(Integer code) {
        return null;
    }

    @Override
    public int[] array() {
        return new int[0];
    }

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getName() {
        return name;
    }
}
